package com.zhanghe;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class DemoController {
	@RequestMapping(value = "/add")
	public Integer add(Integer a,Integer b){
		return a+b;
	}
}
